<?php

include 'func/layout.php';
include 'func/show.php';
include 'func/get.php';
include 'func/sql.php';

$event  = "";
if(isset($_GET['event'])){
	$event = $_GET['event'];
}


if($event != ""){
	
	getHeader();
	echo '<div id="content">';	
	echo showEventWaitlist($event);
	echo '<a id="submitbutton" href="index.php?event=' . $event .'">Tilbage</a>';
	echo '</div>';
	
	getCopyr();

	echo 	'</div></div>' .
		'<div id="botgradient"></div>
	</body>
	</html>';
}else{
	header('Location: index.php');
}

?>
